Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLASMA-3771: bump Storybook version to latest in plasma-new-hope #1678

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

denivladislav
Copy link
Contributor

@denivladislav denivladislav commented Dec 24, 2024

PLASMA-NEW-HOPE

  • обновлена версия пакета storybook до latest (только для new-hope)
  • внесены изменения, сопутствующие обновлению

What/why changed

Версия storybook в пакете new-hope поднята до 8.4.7

AFTER

Storybook_After
📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
# or 
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]

Copy link
Contributor

Theme Builder app deployed!

https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1678/

@@ -34,7 +34,6 @@ const config: StorybookConfig = {
disableTelemetry: true,
},
docs: {
autodocs: true,
Copy link
Contributor Author

@denivladislav denivladislav Dec 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Изменение в связи с autoupdate – опция autodocs переехала в preview.ts

@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denivladislav denivladislav changed the title DRAFT: chore(plasma-new-hope): bump Storybook version to latest chore(plasma-new-hope): bump Storybook version to latest Dec 28, 2024
@denivladislav denivladislav changed the title chore(plasma-new-hope): bump Storybook version to latest PLASMA-3771: bump Storybook version to latest in plasma-new-hope Dec 28, 2024
@denivladislav denivladislav self-assigned this Jan 9, 2025
Comment on lines +39 to +41
typescript: {
reactDocgen: false,
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выставил в false в связи с возникновением аналогичной проблемы:

storybookjs/storybook#28350 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Изменения связаны с внутренними изменениями типов ArgTypes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Теперь конфиг для vite необходимо создавать явно:

https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#for-react

@denivladislav denivladislav requested a review from Yakutoc January 13, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants